package com.bwie.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 这是一张秒杀活动表
 * 
 * @author ÕÔË«Ò¶
 * @email 1535715783@qq.com
 * @date 2022-02-22 10:58:45
 */
@Data
@TableName("miaosha_activity")
public class ActivityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long actId;
	/**
	 * 
	 */
	private Long goodsId;
	/**
	 * 
	 */
	private BigDecimal miaoshaPrice;
	/**
	 * 
	 */
	private Integer stockCount;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startDate;
	/**
	 * 
	 */
	private Date endDate;

//	@TableField(exist=false)
//	private List<GoodsEntity> goodsEntities;

}
